import Request from '../static/network/request.js';

export function listNews(params: {
	page?: number
	limit?: number
	type: number
}):any {
	return Request.get({
		api: '/api/user/message_system/list',
		params
	})
}

export function readNews(params: {
	ids?: string
	type: number
}):any {
	return Request.get({
		api: '/api/user/message_system/edit_message',
		params
	})
}